package business;

import struts.Action;
import struts.ActionForm;

public class LoginAction implements Action{

	@Override
	public String excuse(ActionForm form) {
		LoginForm f = (LoginForm)form;
		if(f.getUsername().equals("lhb")){
			return "success";
		} else {
			return "shibai";
		}
	}

}
